<?php
/**MySql类测试类
 * Created by PhpStorm.
 * User: wuz
 * Date: 2016/8/22
 * Time: 20:39
 */
header("content-type:text/html;charset=utf-8");
include "MysqlClass/MySqlClass.php";
$MySQL = new Ycf\Lession\MySqlClass\MySqlClass('student', 'root', '123456');
        $insert = array(
            'id'       => '1',
            'studentName'   => "张三",
            'age' => "18",
            'gender'      => '男',
        );
        $MySQL->insert("student", $insert);///插入
        $MySQL->select("student");//查询
